[INFO] cloning repository https://github.com/sibarras/atomics_and_locks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sibarras/atomics_and_locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsibarras%2Fatomics_and_locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsibarras%2Fatomics_and_locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a3296cb4555fdcfc911024c3b95e45e5237ffa17
[INFO] checking sibarras/atomics_and_locks against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsibarras%2Fatomics_and_locks" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sibarras/atomics_and_locks
[INFO] finished tweaking git repo https://github.com/sibarras/atomics_and_locks
[INFO] tweaked toml for git repo https://github.com/sibarras/atomics_and_locks written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sibarras/atomics_and_locks on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sibarras/atomics_and_locks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4
[INFO] running `Command { std: "docker" "start" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking atomics_and_locks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::condition_variables`
[INFO] [stdout]  --> src/cap_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::condition_variables;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]    --> src/cap_3.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use std::sync::atomic::AtomicU64;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Duration`
[INFO] [stdout]    --> src/cap_3.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 |     use std::{sync::atomic::AtomicBool, time::Duration};
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/cap_3.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/cap_5.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/cap_5.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             ///! My comment
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 31 |             let mut b = self.queue.lock().unwrap();
[INFO] [stdout]    |             --------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::BitAndAssign`
[INFO] [stdout]  --> src/parking.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitAndAssign,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::condition_variables`
[INFO] [stdout]  --> src/cap_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::condition_variables;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]    --> src/cap_3.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use std::sync::atomic::AtomicU64;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Duration`
[INFO] [stdout]    --> src/cap_3.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 |     use std::{sync::atomic::AtomicBool, time::Duration};
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/cap_3.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/cap_5.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/cap_5.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             ///! My comment
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 31 |             let mut b = self.queue.lock().unwrap();
[INFO] [stdout]    |             --------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::BitAndAssign`
[INFO] [stdout]  --> src/parking.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitAndAssign,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]  --> src/cap_1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn f() {
[INFO] [stdout]   |    ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_without_knowing_if_completed` is never used
[INFO] [stdout]  --> src/cap_1.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn run_without_knowing_if_completed() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_checking_if_completed` is never used
[INFO] [stdout]   --> src/cap_1.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn run_checking_if_completed() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `better_join` is never used
[INFO] [stdout]   --> src/cap_1.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn better_join() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_sum` is never used
[INFO] [stdout]   --> src/cap_1.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | const fn calc_sum(v: &[usize]) -> usize {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_max` is never used
[INFO] [stdout]   --> src/cap_1.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | const fn calc_max(v: &[usize]) -> usize {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_calculation` is never used
[INFO] [stdout]   --> src/cap_1.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn double_calculation() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_arc_calculation` is never used
[INFO] [stdout]   --> src/cap_1.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn double_arc_calculation() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cell_mutability` is never used
[INFO] [stdout]   --> src/cap_1.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn cell_mutability() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_1.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/cap_2.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub(super) fn main() {
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_work` is never used
[INFO] [stdout]   --> src/cap_2.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn some_work() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]   --> src/cap_2.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn process_item(_i: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_2.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `with_sync` is never used
[INFO] [stdout]   --> src/cap_2.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn with_sync() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_x` is never used
[INFO] [stdout]   --> src/cap_2.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn calculate_x() -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_x` is never used
[INFO] [stdout]   --> src/cap_2.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn get_x() -> u64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]    --> src/cap_2.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn process_item(_v: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]    --> src/cap_2.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn process_item(_i: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_new_id` is never used
[INFO] [stdout]    --> src/cap_2.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub fn allocate_new_id() -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_key` is never used
[INFO] [stdout]    --> src/cap_2.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn generate_random_key() -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_key` is never used
[INFO] [stdout]    --> src/cap_2.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn get_key() -> u64 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]  --> src/cap_3.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]   |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/cap_3.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn main() {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]   --> src/cap_3.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `Y` is never used
[INFO] [stdout]   --> src/cap_3.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static Y: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/cap_3.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     static DATA: AtomicU64 = AtomicU64::new(0);
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `READY` is never used
[INFO] [stdout]   --> src/cap_3.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     static READY: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/cap_3.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 85 |     static mut DATA: u64 = 0;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `READY` is never used
[INFO] [stdout]   --> src/cap_3.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     static READY: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub(crate) fn main() {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V1` is never used
[INFO] [stdout]    --> src/cap_3.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     static V1: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V2` is never used
[INFO] [stdout]    --> src/cap_3.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     static V2: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V3` is never used
[INFO] [stdout]    --> src/cap_3.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     static V3: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DONE` is never used
[INFO] [stdout]    --> src/cap_3.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 |     static DONE: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]    --> src/cap_3.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |     static mut DATA: String = String::new();
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCKED` is never used
[INFO] [stdout]    --> src/cap_3.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     static LOCKED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]    --> src/cap_3.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn f() {
[INFO] [stdout]     |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]    --> src/cap_3.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 |     struct Data;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_data` is never used
[INFO] [stdout]    --> src/cap_3.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn generate_data() -> Data {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_data` is never used
[INFO] [stdout]    --> src/cap_3.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn get_data() -> &'static Data {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_4.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]   --> src/cap_4.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct SpinLock<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stdout]   --> src/cap_4.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 32 |     pub const fn new(value: T) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guard` is never constructed
[INFO] [stdout]   --> src/cap_4.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Guard<'a, T> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used
[INFO] [stdout]   --> src/cap_5.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 17 |         pub fn new() -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |         fn send(&self, message: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |         fn receive(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]   --> src/cap_5.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 58 |         pub const fn new() -> Self {
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |         pub unsafe fn send(&self, message: T) {
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |         pub unsafe fn receive(&self) -> T {
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:91:16
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:99:22
[INFO] [stdout]     |
[INFO] [stdout]  98 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout]  99 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |         pub fn send(&self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |         pub fn receive(&self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMPTY` is never used
[INFO] [stdout]    --> src/cap_5.rs:161:11
[INFO] [stdout]     |
[INFO] [stdout] 161 |     const EMPTY: u8 = 0;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WRITING` is never used
[INFO] [stdout]    --> src/cap_5.rs:162:11
[INFO] [stdout]     |
[INFO] [stdout] 162 |     const WRITING: u8 = 1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READY` is never used
[INFO] [stdout]    --> src/cap_5.rs:163:11
[INFO] [stdout]     |
[INFO] [stdout] 163 |     const READY: u8 = 2;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READING` is never used
[INFO] [stdout]    --> src/cap_5.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |     const READING: u8 = 3;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:172:16
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub struct Channel<T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 179 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |         pub fn send(&self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |         pub fn receive(&self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel` is never used
[INFO] [stdout]    --> src/cap_5.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 |     pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub struct Sender<T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:250:16
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub struct Receiver<T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:253:12
[INFO] [stdout]     |
[INFO] [stdout] 253 |     struct Channel<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/cap_5.rs:261:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     impl<T> Sender<T> {
[INFO] [stdout]     |     ----------------- method in this implementation
[INFO] [stdout] 261 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 266 |     impl<T> Receiver<T> {
[INFO] [stdout]     |     ------------------- methods in this implementation
[INFO] [stdout] 267 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 286 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:310:16
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub struct Sender<'a, T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:313:16
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub struct Receiver<'a, T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 |     struct Channel<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `split` are never used
[INFO] [stdout]    --> src/cap_5.rs:324:22
[INFO] [stdout]     |
[INFO] [stdout] 323 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 324 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |         pub fn split<'a>(&'a mut self) -> (Sender<'a, T>, Receiver<'a, T>) {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/cap_5.rs:338:16
[INFO] [stdout]     |
[INFO] [stdout] 337 |     impl<T> Sender<'_, T> {
[INFO] [stdout]     |     --------------------- method in this implementation
[INFO] [stdout] 338 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |     impl<T> Receiver<'_, T> {
[INFO] [stdout]     |     ----------------------- methods in this implementation
[INFO] [stdout] 344 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 363 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_condvar` is never used
[INFO] [stdout]  --> src/condition_variables.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn use_condvar() {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]  --> src/parking.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn example() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/cap_3.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |             unsafe { DATA.push('!') };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cap_4.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cap_5.rs:415:22
[INFO] [stdout]     |
[INFO] [stdout] 415 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |                      ^^^^^^^^^      ^^^^^^^^^  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |              |
[INFO] [stdout]     |                      |              the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 415 |         pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]     |                                            +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]  --> src/cap_1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn f() {
[INFO] [stdout]   |    ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_without_knowing_if_completed` is never used
[INFO] [stdout]  --> src/cap_1.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn run_without_knowing_if_completed() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_checking_if_completed` is never used
[INFO] [stdout]   --> src/cap_1.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn run_checking_if_completed() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `better_join` is never used
[INFO] [stdout]   --> src/cap_1.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn better_join() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_sum` is never used
[INFO] [stdout]   --> src/cap_1.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | const fn calc_sum(v: &[usize]) -> usize {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_max` is never used
[INFO] [stdout]   --> src/cap_1.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | const fn calc_max(v: &[usize]) -> usize {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_calculation` is never used
[INFO] [stdout]   --> src/cap_1.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn double_calculation() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_arc_calculation` is never used
[INFO] [stdout]   --> src/cap_1.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn double_arc_calculation() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cell_mutability` is never used
[INFO] [stdout]   --> src/cap_1.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn cell_mutability() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_1.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/cap_2.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub(super) fn main() {
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_work` is never used
[INFO] [stdout]   --> src/cap_2.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn some_work() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]   --> src/cap_2.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn process_item(_i: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_2.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `with_sync` is never used
[INFO] [stdout]   --> src/cap_2.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn with_sync() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_x` is never used
[INFO] [stdout]   --> src/cap_2.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn calculate_x() -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_x` is never used
[INFO] [stdout]   --> src/cap_2.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn get_x() -> u64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]    --> src/cap_2.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn process_item(_v: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]    --> src/cap_2.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn process_item(_i: i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_2.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_new_id` is never used
[INFO] [stdout]    --> src/cap_2.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub fn allocate_new_id() -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_key` is never used
[INFO] [stdout]    --> src/cap_2.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 208 |     fn generate_random_key() -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_key` is never used
[INFO] [stdout]    --> src/cap_2.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn get_key() -> u64 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]  --> src/cap_3.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]   |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/cap_3.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn main() {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]   --> src/cap_3.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `Y` is never used
[INFO] [stdout]   --> src/cap_3.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static Y: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/cap_3.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     static DATA: AtomicU64 = AtomicU64::new(0);
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `READY` is never used
[INFO] [stdout]   --> src/cap_3.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     static READY: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn main() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/cap_3.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 85 |     static mut DATA: u64 = 0;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `READY` is never used
[INFO] [stdout]   --> src/cap_3.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |     static READY: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_3.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub(crate) fn main() {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V1` is never used
[INFO] [stdout]    --> src/cap_3.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     static V1: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V2` is never used
[INFO] [stdout]    --> src/cap_3.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     static V2: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `V3` is never used
[INFO] [stdout]    --> src/cap_3.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     static V3: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DONE` is never used
[INFO] [stdout]    --> src/cap_3.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 |     static DONE: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]    --> src/cap_3.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |     static mut DATA: String = String::new();
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCKED` is never used
[INFO] [stdout]    --> src/cap_3.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     static LOCKED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]    --> src/cap_3.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn f() {
[INFO] [stdout]     |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_3.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]    --> src/cap_3.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 |     struct Data;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_data` is never used
[INFO] [stdout]    --> src/cap_3.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn generate_data() -> Data {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_data` is never used
[INFO] [stdout]    --> src/cap_3.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn get_data() -> &'static Data {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cap_4.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]   --> src/cap_4.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct SpinLock<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stdout]   --> src/cap_4.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 32 |     pub const fn new(value: T) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guard` is never constructed
[INFO] [stdout]   --> src/cap_4.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Guard<'a, T> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used
[INFO] [stdout]   --> src/cap_5.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 17 |         pub fn new() -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |         fn send(&self, message: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |         fn receive(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]   --> src/cap_5.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 58 |         pub const fn new() -> Self {
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |         pub unsafe fn send(&self, message: T) {
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |         pub unsafe fn receive(&self) -> T {
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/cap_5.rs:91:16
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:99:22
[INFO] [stdout]     |
[INFO] [stdout]  98 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout]  99 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |         pub fn send(&self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |         pub fn receive(&self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMPTY` is never used
[INFO] [stdout]    --> src/cap_5.rs:161:11
[INFO] [stdout]     |
[INFO] [stdout] 161 |     const EMPTY: u8 = 0;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WRITING` is never used
[INFO] [stdout]    --> src/cap_5.rs:162:11
[INFO] [stdout]     |
[INFO] [stdout] 162 |     const WRITING: u8 = 1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READY` is never used
[INFO] [stdout]    --> src/cap_5.rs:163:11
[INFO] [stdout]     |
[INFO] [stdout] 163 |     const READY: u8 = 2;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READING` is never used
[INFO] [stdout]    --> src/cap_5.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |     const READING: u8 = 3;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:172:16
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub struct Channel<T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 179 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |         pub fn send(&self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |         pub fn receive(&self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel` is never used
[INFO] [stdout]    --> src/cap_5.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 |     pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub struct Sender<T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:250:16
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub struct Receiver<T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:253:12
[INFO] [stdout]     |
[INFO] [stdout] 253 |     struct Channel<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/cap_5.rs:261:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     impl<T> Sender<T> {
[INFO] [stdout]     |     ----------------- method in this implementation
[INFO] [stdout] 261 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 266 |     impl<T> Receiver<T> {
[INFO] [stdout]     |     ------------------- methods in this implementation
[INFO] [stdout] 267 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 286 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:310:16
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub struct Sender<'a, T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:313:16
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub struct Receiver<'a, T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/cap_5.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 |     struct Channel<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `split` are never used
[INFO] [stdout]    --> src/cap_5.rs:324:22
[INFO] [stdout]     |
[INFO] [stdout] 323 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 324 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |         pub fn split<'a>(&'a mut self) -> (Sender<'a, T>, Receiver<'a, T>) {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/cap_5.rs:338:16
[INFO] [stdout]     |
[INFO] [stdout] 337 |     impl<T> Sender<'_, T> {
[INFO] [stdout]     |     --------------------- method in this implementation
[INFO] [stdout] 338 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/cap_5.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |     impl<T> Receiver<'_, T> {
[INFO] [stdout]     |     ----------------------- methods in this implementation
[INFO] [stdout] 344 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/cap_5.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 363 |     pub fn main() {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_condvar` is never used
[INFO] [stdout]  --> src/condition_variables.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn use_condvar() {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]  --> src/parking.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn example() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/cap_3.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |             unsafe { DATA.push('!') };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cap_4.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cap_5.rs:415:22
[INFO] [stdout]     |
[INFO] [stdout] 415 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |                      ^^^^^^^^^      ^^^^^^^^^  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |              |
[INFO] [stdout]     |                      |              the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 415 |         pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]     |                                            +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4", kill_on_drop: false }`
[INFO] [stdout] b7fffdcd438bebd7a0050c62e8d0eed2e0397a069574e99d0191a081209e9eb4
